Plug same refcount leaks as in the X11 backend.
authorTor Lillqvist <tml@iki.fi>
Tue, 16 May 2000 21:27:10 +0000 (21:27 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 16 May 2000 21:27:10 +0000 (21:27 +0000)
commit8596f7edc559f94f6daeb593d298e9c78b0bf40d
tree3177e0bce7517422ddec629eb730aa285e33638c
parent386ae2097042d60afa3c4d4d4244161d16966b77
Plug same refcount leaks as in the X11 backend.

2000-05-17  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Plug same
refcount leaks as in the X11 backend.

* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_values): Logging
cosmetics.

* gdk/win32/gdkwindow-win32.c: Similar changes as in X11
backend. Add _gdk_windowing_window_destroy().

* gtk/gtkcolorsel.c: Include correct backend-specific header.
Don't use XColor unless on X11. (No GDK_VISUAL_STATIC_COLOR
either, but these probably do exist on nanox?)

* gtk/gtkhsv.c: Use G_PI (fresh from <glib.h>) instead of M_PI
which isn't necessarily defined by <math.h>.

* gtk/gtkobject.c (gtk_object_init): Don't go up the class
ancestry past GtkObject.

* gtk/gtktypeutils.h: Mark GTK_TYPE_IDENTIFIER for export/import
from DLL on Win32.

* gtk/gtk.def: Update corresponding to recent changes.

* gtk/makefile.{cygwin,msc}: Updates.
17 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/win32/gdkevents-win32.c
gdk/win32/gdkgc-win32.c
gdk/win32/gdkwindow-win32.c
gtk/gtk.def
gtk/gtkcolorsel.c
gtk/gtkhsv.c
gtk/gtkobject.c
gtk/gtktypeutils.h
gtk/makefile.cygwin
gtk/makefile.msc